AM_CXXFLAGS=-I$(srcdir)/../../include $(MYSQL_INCLUDES)

lib_LTLIBRARIES=liblitesql.la liblitesql-util.la

liblitesql_la_SOURCES=database.cpp \
		      expr.cpp \
		      selectquery.cpp \
		      persistent.cpp \
		      backend.cpp \
		      updatequery.cpp \
		      field.cpp \
		      datasource.cpp \
		      sqlite3_backend.cpp \
		      postgresql.cpp \
		      mysql.cpp \
		      compatibility.cpp \
		      datetime.cpp

liblitesql_util_la_SOURCES= split.cpp \
		      				string.cpp

EXTRA_DIST= compatibility.hpp \
	    odbc_backend.hpp \
	    mysql.hpp \
	    postgresql.hpp \
	    sqlite3.hpp \
	    sqlite3.c \
	    sqlite3.h \
	    sqlite3ext.h \
	    CMakeLists.txt

#liblitesql_la_LDFLAGS = -version-info 3:6 
#`echo $(VERSION)|sed -e 's/\./:/g'`
